package com.topboya.officeuser.mapper;

import com.topboya.officeuser.entity.BoyaSalesInfo;
import com.topboya.officeuser.entity.Office;

import java.util.List;
import java.util.Map;

/**
 * @className OfficeMapper
 * @Author xiaxin
 * @Date 2020/8/8 18:37
 * @Version 1.0
 **/
public interface OfficeMapper {


    int insert(Office office);

    int update(Office office);

    int deleteOffice(String id);

    void insertSalesInforBatch(List<BoyaSalesInfo> boyaSalesInfoList);

    Office select(String id);

    List<Office> selectAllPageAndIf(Map<String, Object> mapOffice);

    List<Office> queryAll(Object o);
}
